package org.dromara.comm_lhz.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.dromara.system.domain.SysUser;

import java.util.Date;
import java.io.Serializable;
import java.util.List;

/**
 * 积分管理(AsPointsManagementEntity)实体类
 *
 * @author makejava
 * @since 2024-07-31 09:59:42
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("as_points_management")
public class AsPointsManagementEntity implements Serializable {

    /**
     * 主键id
     */
    @TableId
    private Long id;
    /**
     * 关联用户id
     */
    private Long userId;
    /**
     * 积分
     */
    private Long integral;
    /**
     * 创建人
     */
    private String createBy;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 修改者
     */
    private String updateBy;
    /**
     * 修改时间
     */
    private Date updateTime;
    /**
     * 逻辑删除
     */
    @TableLogic
    private Long isDelete;

    @TableField(exist = false)
    public List<SysUser> sysUsers;
}

